package de.jmda.web.server.ping;

import com.google.gwt.user.server.rpc.RemoteServiceServlet;

import de.jmda.web.client.ping.PingService;

/**
 * The server side implementation of the RPC service.
 */
@SuppressWarnings("serial")
public class PingServiceImpl
    extends RemoteServiceServlet implements PingService
{
	/**
   * @see de.jmda.web.client.ping.PingService#ping()
   */
  @Override
  public Long ping()
  {
		return
//	  		getThreadLocalRequest() + "\n" +
//	  		getServletContext() + "\n" +
	  		System.currentTimeMillis();
  }
}